<template>
	<view :style="themeColor">
		<view class="page">
			<view
				class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex CancelAccount_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-stretch justify-between CancelAccount_fd0_0'>
					<view class='flex flex-wrap align-center CancelAccount_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  CancelAccount_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='CancelAccount_fd0_0_c1_c0'>注销账号</text>
					</view>
					<view class='flex align-center justify-end CancelAccount_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<view class="loading_css" v-if="isShow">
				<u-loading size="36" color="#E60012"></u-loading>
				<view>加载中</view>
			</view>
			<!---注销账号协议flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch CancelAccount_flex_1" v-else>
				<jyf-parser class='CancelAccount_fd1_0' :html="dataMessage.content | richTextFormat">
				</jyf-parser>
				<button class='flex-sub CancelAccount_fd1_1' @tap.stop="handleJumpDiy" data-type="redirectTo"
					:data-url="`/pages/xtsz/logOutReason/logOutReason`" open-type="contact">填写注销申请</button>
			</view>

			<!---注销账号协议flex布局结束-->


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"dataMessage": {
					"aid": "",
					"name": "",
					"thumb_img": "",
					"content": "",
					"introduce": ""
				},
				"isShow": true,
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			}
		},
		watch: {},
		onLoad(options) {
			this.getMessageFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//系统文章--获取系统单页内容
			async getMessageFunc() {
				
				let datadataMessage = await this.$api.post(global.apiUrls.post641568f1b6f87, {
					column_id: '3'
				});
				this.isShow = false;
				if (datadataMessage.data.code != 1) {
					this.$message.info(datadataMessage.data.msg);
					return
				}
				let infodataMessage = datadataMessage.data;
				this.dataMessage = infodataMessage.data
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #f6f7f9;
		background-size: 100% auto;
	}

	.CancelAccount_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.CancelAccount_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.CancelAccount_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: var(--benbenFontColor0);
		line-height: 50rpx;
	}

	.CancelAccount_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333;
	}

	.CancelAccount_fd0_0_c0 {
		width: 100rpx;
	}

	.CancelAccount_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.CancelAccount_flex_1 {
		font-size: 32rpx;
		padding: 32rpx 32rpx 32rpx 32rpx;
		margin: 0rpx 0rpx 032rpx 0rpx;
	}

	.CancelAccount_fd1_1 {
		background: #fff;
		font-size: 32rpx;
		color: rgba(255, 0, 0, 1);
		height: 120rpx;
		line-height: 120rpx;
		font-weight: 500;
		position: fixed;
		left: 0rpx;
		bottom: calc(0rpx + var(--window-bottom));
		width: 750rpx;
	}

	::v-deep .CancelAccount_fd1_0 {
		width: 100%;
		margin: 0rpx 0rpx 150rpx 0rpx;
	}
</style>